package edu.washington.tcss360.burningpenguins.queries;

import java.util.Date;

/**
 * Queries by the RecommendDeadline column of a table.
 * @author Chris Gelatt
 * @version 1.0
 * @since 2013-11-2
 *
 */
public class ByRecommendDeadline implements QueryBy
{
	private Long recommendDeadline;
	
	public ByRecommendDeadline(Long recommendDeadline)
	{
		this.recommendDeadline = recommendDeadline;
	}
	
	public ByRecommendDeadline(Date recommendDeadline)
	{
		this.recommendDeadline = recommendDeadline.getTime();
	}
	
	/**
	 * {@inheritDoc}
	 */
	public String toString()
	{
		return "RecommendDeadline = " + recommendDeadline;
	}
}